﻿using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZyGames.DZPocker.Model
{
	[Serializable, ProtoContract]
	public class ProfitRecord
	{
		/// <summary>
		/// 玩家
		/// </summary>
		[ProtoMember(1)]
		public SimpleUserData User { get; set; }

		/// <summary>
		/// 买入的筹码
		/// </summary>
		[ProtoMember(2)]
		public int BuyChip { get; set; }

		/// <summary>
		/// 盈亏
		/// </summary>
		[ProtoMember(3)]
		public int Profit { get; set; }

		/// <summary>
		/// 是否是保险人
		/// </summary>
		[ProtoMember(4)]
		public bool IsInsurance { get; set; }
	}
}
